import { useRef, useEffect } from "react"
import Icon, { IconRefresh, IconLoading } from "../index"
import IconMessageUnread from "../svg/message_unread.svg"


const App = () => {

    return (
        <>
            <IconRefresh spin /><br />
            <IconLoading spin style={{ fontSize: "24px", color: "#ffcd00" }} /><br />
            {/* 自定义icon 需配合引入 @svgr/webpack */}
            <IconMessageUnread style={{ width: "24px", height: "24px" }} />
        </>
    )
}
export default App